﻿using System;
using System.Collections.Generic;

namespace HyMaterialStatistic
{
	public struct SatatisticDataInfo
	{
		public string Name
		{
			get
			{
				return this.m_strName;
			}
			set
			{
				this.m_strName = value;
			}
		}

		public string Unit
		{
			get
			{
				return this.m_strUnit;
			}
			set
			{
				this.m_strUnit = value;
			}
		}

		public string ElemParm
		{
			get
			{
				return this.m_strElemParm;
			}
			set
			{
				this.m_strElemParm = value;
			}
		}

		public List<string> LstElemParm
		{
			get
			{
				return this.m_lstElemParm;
			}
			set
			{
				this.m_lstElemParm = value;
			}
		}

		public List<string> LstFilter
		{
			get
			{
				return this.m_lstFilter;
			}
			set
			{
				this.m_lstFilter = value;
			}
		}

		public double Amount
		{
			get
			{
				return this.m_dAmount;
			}
			set
			{
				this.m_dAmount = value;
			}
		}

		public string Ps
		{
			get
			{
				return this.m_strPs;
			}
			set
			{
				this.m_strPs = value;
			}
		}

		public string FilterType
		{
			get
			{
				return this.m_strFilterType;
			}
			set
			{
				this.m_strFilterType = value;
			}
		}

		public string FamilyName
		{
			get
			{
				return this.m_strFamilyName;
			}
			set
			{
				this.m_strFamilyName = value;
			}
		}

		public SatatisticDataInfo(string strFamilyName, string strName, string strUnit, string strElemParm, double dAmount, string strPs, string strFilterType)
		{
			this.m_strFamilyName = strFamilyName;
			this.m_strName = strName;
			this.m_strUnit = strUnit;
			this.m_strElemParm = strElemParm;
			this.m_dAmount = dAmount;
			this.m_strPs = strPs;
			this.m_strFilterType = strFilterType;
			this.m_lstElemParm = null;
			this.m_lstFilter = null;
		}

		public SatatisticDataInfo(string strFamilyName, string strName, string strUnit, List<string> lstElemParm, List<string> lstFilter, double dAmount)
		{
			this.m_strFamilyName = strFamilyName;
			this.m_strName = strName;
			this.m_strUnit = strUnit;
			this.m_lstElemParm = lstElemParm;
			this.m_dAmount = dAmount;
			this.m_strPs = "";
			this.m_strElemParm = "";
			this.m_strFilterType = "";
			this.m_lstFilter = lstFilter;
		}

		private string m_strName;

		private string m_strUnit;

		private string m_strElemParm;

		private List<string> m_lstElemParm;

		private List<string> m_lstFilter;

		private double m_dAmount;

		private string m_strPs;

		private string m_strFilterType;

		private string m_strFamilyName;
	}
}
